//#define _CRT_SECURE_NO_WARNINGS
//#include<iostream>
//using namespace std;
////void reserve(int arr[], int left, int right) {
////	if (left < right) {
////		int tmp = arr[left];
////		arr[left] = arr[right];
////		arr[right] = tmp;
////		reserve(arr, left + 1, right - 1);
////	}
////	else {
////		return;
////	}
////}
//int main() {
//	int arr1[6] = { 1,2,3,4,5,6 };
//	int arr2[6] = { 1,3,4,1,33,99 };
//	for (int i = 0; i < 6; i++) {
//		int tmp = arr1[i];
//		arr1[i] = arr2[i];
//		arr2[i] = tmp;
//	}
//	for (int i = 0; i < 6; i++) {
//		cout << arr1[i] << " ";
//	}
//	cout << endl;
//	for (int i = 0; i < 6; i++) {
//		cout << arr2[i] << " ";
//	}
//}